package com.feonix.complat.controller.home;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.feonix.common.annotation.Permission;
import com.feonix.common.permission.Allowed;

/**
 * 
 * @CopyRight (c)1993-2017
 * @Project m-complat-controller
 * @Comments 首页
 * @NameSpace com.feonix.complat.controller.home
 * @Author Feonixzw
 * @CreateDate 2017年12月4日
 */
@Controller
@Permission(module = "honey", allowedAdmin = Allowed.YES)
@RequestMapping(value = "manager/main/home")
public class HomeController {

	/**
	 * 显示首页
	 * 
	 * @return
	 */
	@RequestMapping("honey")
	@Permission(function = "honey_show")
	public ModelAndView showMainPage() {
		ModelAndView modelAndView = new ModelAndView("complat/home/honey");
		return modelAndView;
	}
}